package org.pageley.games.sanctuary.domain.event;

import org.pageley.games.sanctuary.domain.entity.Entity;

public class HitEvent implements Event {

	private Entity subject;
	private Entity target;
	private int damage;
	
	public HitEvent(Entity subject, Entity target, int damage) {
		this.subject = subject;
		this.target = target;
		this.damage = damage;
	}

	@Override
	public Entity getSubject() {
		return subject;
	}

	public Entity getTarget() {
		return target;
	}

	public int getDamage() {
		return damage;
	}

}
